/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconShop: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M738.848 128a96 96 0 0 1 95.904 91.648l26.176 576a96 96 0 0 1-91.52 100.256l-1.632 0.064-508.8 0.032a96 96 0 0 1-96-96l26.272-580.352A96 96 0 0 1 285.152 128z m0 64H285.12a32 32 0 0 0-31.968 30.56L226.976 800a32 32 0 0 0 32 32h506.048l5.184-0.416a32 32 0 0 0 26.784-33.024l-26.176-576a32 32 0 0 0-32-30.56z m-94.912 129.056a32 32 0 0 1 23.04 38.944 160.032 160.032 0 0 1-309.92 0 32 32 0 0 1 61.984-15.968 96.064 96.064 0 0 0 185.92 0 32 32 0 0 1 38.976-22.976z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconShop.defaultProps = {
  size: 18,
};

export default IconShop;
